package com.library.mapper;

import com.library.entity.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ido
 * @since 2024-12-14
 */
public interface OaAttendanceRecordMapper {

    List<OaAttendanceRecordExt> listByQuery(OaAttendanceRecordExt query);

    int deleteByPrimaryKey(Long id);

    int insert(OaAttendanceRecord record);

    int insertSelective(OaAttendanceRecord record);

    OaAttendanceRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OaAttendanceRecord record);

    int updateByPrimaryKey(OaAttendanceRecord record);

    List<OaAttendanceRecordStaticVo> listStatics(@Param("month") String month, @Param("role") String role, @Param("userInfoId") Long userInfoId);
}
